import request from '@/utils/request'

// consultant
export function getConsultantPage(data) {
    return request({
      url: '/consultant/page',
      method: 'post',
      data: data
    })
  }
  export function deleteConsultant(data) {
    return request({
      url: '/consultant/delete',
      method: 'post',
      params: data
    })
  }
  export function addConsultant(data) {
    return request({
      url: '/consultant/add',
      method: 'post',
      data: data
    })
  }
  export function updateConsultant(data) {
    return request({
      url: '/consultant/update',
      method: 'post',
      data: data
    })
  }
  